/*
	Homepage: http://snipt.org
	Description: For use when interacting with the snipt.org API
	Version: 1.0
	Author: Dan Wasyluk

  	Copyright 2009 Dan Wasyluk / Snipt.org 

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
*/

package org.snipt.api.vo {
	public class Snipt {
		
		public var ID:String = "";
		public var title:String = "";
		public var content:String = "";
		public var htmlContent:String = "";
		public var language:String = "";
		public var isPrivate:Boolean = false;
		public var showNums:Boolean = false;
		public var theme:SniptTheme;
		public var twitterUser:String = "";
		
		public function Snipt(generic:Object = null) {
			if(generic != null) {
				this.ID = generic.ID;
				this.title = generic.title;
				this.content = generic.content;
				this.htmlContent = generic.htmlContent;
				this.language = generic.language;
				this.isPrivate = generic.isPrivate;
				this.showNums = generic.showNums;
				this.theme = new SniptTheme(generic.theme);
				this.twitterUser = generic.twitterUser;
			}
		}

	}
}